home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
fstat.zip
/
FSTAT.MAN
< prev
next >
Wrap
Text File
|
1989-12-12
|
2KB
|
35 lines
NAME
fstat - display complete list of currently open files
SYNOPSIS
fstat
DESCRIPTION
fstat.com is a program to display all of the currently open files
and devices known to the system. It also shows length, current
offset, number of handles referring to this file, drive or device
type, and program which opened the file. The standard devices
CON, AUX, PRN, etc. are also listed since they use file handles.
The program might be useful for diagnosing "too many files open"
type messages, since it will show what files are in use by TSRs
in addition to those opened by a foreground program. It works by
using DOS service 52H, the "list of lists" interrupt, which
returns pointers to most of the internal DOS kernel tables,
including the file tables. It should work for all DOS versions
2+, although only 3+ can find out the name of the program which
opened any given file. There is some version specific code for
4.x and it is possible that this may not work on all systems
since the contents of the system tables are not fully documented.
SEE ALSO
BUGS
This seems to work, but it would be nice if this information were made
"official" instead of needing to rely on the usenet "interrupt list"
for the necessary information
It is usually not possible to retrieve the name of a shell (such as
command.com) so it is listed as "-shell-".
AUTHOR
Richard Brittain (richard@calvin.spp.cornell.edu)